package com.zzyq.pc.web.submit.mapper;

import com.zzyq.pc.web.submit.model.Submit;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface SubmitMapper {
    int insert(Submit record);

    Submit selectById(Integer submittedId);

    int update(Submit record);

    List<Submit> selectAsList(Map<String, Object> map);

    List<Submit> selectUntreatedByUserId(@Param("userId") Integer userId);
}